{
  "properties" : { },
  "id" : "2ef0e855a09b40be9614a1037da33298",
  "script" : null,
  "groupId" : "3e4ed85f2bd6439394a92324446300f3",
  "name" : "立即执行",
  "createTime" : 1727071070483,
  "updateTime" : 1725505882848,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "runNow",
  "method" : "GET",
  "parameters" : [ {
    "name" : "id",
    "value" : "1819295080971821058",
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 500,\n    \"success\": false,\n    \"data\": {},\n    \"msg\": \"系统维护中，请稍后重试。\"\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import reactor.core.publisher.Mono;
import org.springframework.web.reactive.function.client.WebClient;
import com.alibaba.fastjson.JSONObject;
import log;

 String baseUrl = "http://127.0.0.1:20001/";

        WebClient webClient = WebClient.create(baseUrl);
        var vo = {
            'id': id
        };
        String requestVo = JSONObject.toJSONString(vo);
        Mono responseDevice = webClient.post().uri("discover/runNow").attribute('content-type','application/json')
         .bodyValue(requestVo)
         .retrieve().bodyToMono(Boolean.class);
         log.info("insetData id end :" + responseDevice.block());
        return Boolean.TRUE.equals(responseDevice.block());